<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="dvRefData" targetNamespace="http://tempuri.org/dvRefData.xsd" xmlns:mstns="http://tempuri.org/dvRefData.xsd" xmlns="http://tempuri.org/dvRefData.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="HealthServicesDirectoryConnectionString3" ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly" Name="HealthServicesDirectoryConnectionString3 (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Microsoft.ConnectionEngine.Registers.Core.ServiceProvider.Common.DataSets.Properties.Settings.0.Default.HealthServicesDirectoryConnectionString3" Provider="System.Data.SqlClient">
          </Connection>
        </Connections>
        <Tables>
        </Tables>
        <Sources>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="dvRefData" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="dvRefData" msprop:Generator_DataSetName="dvRefData">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="MessageType" msdata:Locale="en-NZ" msprop:Generator_UserTableName="MessageType" msprop:Generator_RowDeletedName="MessageTypeRowDeleted" msprop:Generator_RowChangedName="MessageTypeRowChanged" msprop:Generator_RowClassName="MessageTypeRow" msprop:Generator_RowChangingName="MessageTypeRowChanging" msprop:Generator_RowEvArgName="MessageTypeRowChangeEvent" msprop:Generator_RowEvHandlerName="MessageTypeRowChangeEventHandler" msprop:Generator_TableClassName="MessageTypeDataTable" msprop:Generator_TableVarName="tableMessageType" msprop:Generator_RowDeletingName="MessageTypeRowDeleting" msprop:Generator_TablePropName="MessageType">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="messageTypeID" msprop:Generator_UserColumnName="messageTypeID" msprop:Generator_ColumnPropNameInRow="messageTypeID" msprop:Generator_ColumnVarNameInTable="columnmessageTypeID" msprop:Generator_ColumnPropNameInTable="messageTypeIDColumn" type="xs:int" />
              <xs:element name="description" msprop:Generator_UserColumnName="description" msprop:Generator_ColumnPropNameInRow="description" msprop:Generator_ColumnVarNameInTable="columndescription" msprop:Generator_ColumnPropNameInTable="descriptionColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="xmlSchema" msprop:Generator_UserColumnName="xmlSchema" msprop:Generator_ColumnPropNameInRow="xmlSchema" msprop:Generator_ColumnVarNameInTable="columnxmlSchema" msprop:Generator_ColumnPropNameInTable="xmlSchemaColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="version" msprop:Generator_UserColumnName="version" msprop:nullValue="_null" msprop:Generator_ColumnVarNameInTable="columnversion" msprop:Generator_ColumnPropNameInTable="versionColumn" msprop:Generator_ColumnPropNameInRow="version">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ServiceProviderType" msdata:Locale="en-NZ" msprop:Generator_UserTableName="ServiceProviderType" msprop:Generator_RowDeletedName="ServiceProviderTypeRowDeleted" msprop:Generator_RowChangedName="ServiceProviderTypeRowChanged" msprop:Generator_RowClassName="ServiceProviderTypeRow" msprop:Generator_RowChangingName="ServiceProviderTypeRowChanging" msprop:Generator_RowEvArgName="ServiceProviderTypeRowChangeEvent" msprop:Generator_RowEvHandlerName="ServiceProviderTypeRowChangeEventHandler" msprop:Generator_TableClassName="ServiceProviderTypeDataTable" msprop:Generator_TableVarName="tableServiceProviderType" msprop:Generator_RowDeletingName="ServiceProviderTypeRowDeleting" msprop:Generator_TablePropName="ServiceProviderType">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="serviceProviderTypeID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="serviceProviderTypeID" msprop:Generator_ColumnPropNameInRow="serviceProviderTypeID" msprop:Generator_ColumnVarNameInTable="columnserviceProviderTypeID" msprop:Generator_ColumnPropNameInTable="serviceProviderTypeIDColumn" type="xs:int" />
              <xs:element name="displayName" msprop:Generator_UserColumnName="displayName" msprop:Generator_ColumnPropNameInRow="displayName" msprop:Generator_ColumnVarNameInTable="columndisplayName" msprop:Generator_ColumnPropNameInTable="displayNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="serviceProviderTypeCode" msprop:Generator_UserColumnName="serviceProviderTypeCode" msprop:Generator_ColumnPropNameInRow="serviceProviderTypeCode" msprop:Generator_ColumnVarNameInTable="columnserviceProviderTypeCode" msprop:Generator_ColumnPropNameInTable="serviceProviderTypeCodeColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PnPMessageStatus" msdata:Locale="en-NZ" msprop:Generator_UserTableName="PnPMessageStatus" msprop:Generator_RowDeletedName="PnPMessageStatusRowDeleted" msprop:Generator_RowChangedName="PnPMessageStatusRowChanged" msprop:Generator_RowClassName="PnPMessageStatusRow" msprop:Generator_RowChangingName="PnPMessageStatusRowChanging" msprop:Generator_RowEvArgName="PnPMessageStatusRowChangeEvent" msprop:Generator_RowEvHandlerName="PnPMessageStatusRowChangeEventHandler" msprop:Generator_TableClassName="PnPMessageStatusDataTable" msprop:Generator_TableVarName="tablePnPMessageStatus" msprop:Generator_RowDeletingName="PnPMessageStatusRowDeleting" msprop:Generator_TablePropName="PnPMessageStatus">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="messageStatusID" msprop:Generator_UserColumnName="messageStatusID" msprop:Generator_ColumnPropNameInRow="messageStatusID" msprop:Generator_ColumnVarNameInTable="columnmessageStatusID" msprop:Generator_ColumnPropNameInTable="messageStatusIDColumn" type="xs:int" />
              <xs:element name="displayName" msprop:Generator_UserColumnName="displayName" msprop:Generator_ColumnPropNameInRow="displayName" msprop:Generator_ColumnVarNameInTable="columndisplayName" msprop:Generator_ColumnPropNameInTable="displayNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="canBeSetBy" msprop:Generator_UserColumnName="canBeSetBy" msprop:Generator_ColumnPropNameInRow="canBeSetBy" msprop:Generator_ColumnVarNameInTable="columncanBeSetBy" msprop:Generator_ColumnPropNameInTable="canBeSetByColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ServiceProviderType" />
      <xs:field xpath="mstns:serviceProviderTypeID" />
    </xs:unique>
    <xs:unique name="PnPMessageStatus_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:PnPMessageStatus" />
      <xs:field xpath="mstns:messageStatusID" />
    </xs:unique>
  </xs:element>
</xs:schema>